﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EntityModel
{
    /// <summary>
    /// 大型活动类
    /// </summary>
    public class EM_Collective
    {
         
        /// <summary>
        /// ID标识
        /// </summary>
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public Guid Id { get; set; } = Guid.NewGuid();
        /// <summary>
        ///发布时间
        /// </summary>
        [Required]
        public DateTime AddTime { get; set; }
        /// <summary>
        ///活动名称
        /// </summary>
        [Required]
        [StringLength(50)]
        public string? Examination { get; set; }
        /// <summary>
        ///参加活动班级
        /// </summary>
        [Required]
        [StringLength(50)]
        public string? Activityclass { get; set; }
        /// <summary>
        ///参加活动班级报名人数
        /// </summary>
        [Required]
        public int Activitypeople { get; set; }
        /// <summary>
        ///参加活动系部报名人数
        /// </summary>
        [Required]
        public int Activitydepartment { get; set; }
        /// <summary>
        ///参加活动学校报名人数
        /// </summary>
        [Required]
        public int Activityschool { get; set; }
        /// <summary>
        ///活动日期
        /// </summary>
        [Required]
        public DateTime Activityday { get; set; }
        /// <summary>
        ///活动地点
        /// </summary>
        [Required]
        public string? Activitylocation { get; set; }
        /// <summary>
        ///参加活动人员名单
        /// </summary>
        [Required]
        public string? Activitystaff { get; set; }
    }
}
